package com.example.demo0317.service;

import com.example.demo0317.service.AirConditioner;
import com.example.demo0317.service.BrandBAirConditioner;
import com.example.demo0317.service.BrandAAirConditioner;

public class RunAirConditioner {
    public static void main(String[] args) {
        AirConditioner brandA = new BrandAAirConditioner();
        AirConditioner brandB = new BrandBAirConditioner();

        brandA.cool(25);
        brandB.cool(20);
    }
}
